package com.lc.YYGH.hosp.service;


import com.lc.YYGH.model.hosp.Department;
import com.lc.YYGH.vo.hosp.DepartmentQueryVo;
import com.lc.YYGH.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    //上传科室
    void save(Map<String,Object> paramMap);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void removeDepartment(String hoscode, String depcode);
    //根据医院编号查询
    List<DepartmentVo> findDepTree(String hoscode);

    String getDepName(String hoscode,String depcode);
    //根据医院编码科室编码h获取相应科室
    Department getDepartment(String hoscode, String depcode);
}

